from typing import List


class Solution:
    def canPartition(self, nums: List[int]) -> bool:
        if len(nums) == 1:
            return False
        nums = sorted(nums)
        left, right = 0, len(nums)-1
        while left < right:
            if


print(Solution().canPartition([1, 3, 4, 4]))
